cod_set_item_durability

Syntax

native cod_set_item_durability(id, amount);

Usage

id
Player index
amount
Item durability amount

Description

Sets player item durability amount.

Note

Set durability to 0 to destroy item.

Return

This function has no return value.